2,023
questions
0
votes
0
answers
31
views
DirectMusic GUID Lnk2001 unresolved external symbol Error [duplicate]
ErrorList
Error LNK2001 unresolved external symbol IID_IDirectMusicPerformance8
Error LNK2001 unresolved external symbol IID_IDirectMusicLoader8
Error LNK2001 unresolved external symbol ...
0
votes
1
answer
72
views
Index rebuild on a GUID clustered index? [closed]
I have a large table with the clustered index on a GUID (uniqueidentifier) column. So the rows are not in any kind of logical order, they are physically sorted by this random-generated ID.
Does an ...
0
votes
2
answers
41
views
how can i update my invoice after POSTing to Xero, when I let Xero generate the Invoice Nr and Id
I would like to send 2 very basic invoices to xero.
Let xero create the Invoice Nr, and InvoiceId, then return that so i can update it on our side.
After sending our IDE creates a NEW Root.
Is there ...
1
vote
1
answer
49
views
How to pass a Guid to a property on a Tag Helper in ASP.NET Core
I have a custom TagHelper I need to pass a Guid to, but I get errors when I pass the value.
How can I pass in a Guid?
TagHelper:
[HtmlTargetElement("assets:signin", Attributes = "...
0
votes
1
answer
67
views
Dapper returning zero GUID
Dapper constantly returns the default value instead of the ID. What could be the problem and how to fix it? (Dapper + PostgreSQL)
Can you explain to me what is the problem?
public async Task<...
1
vote
1
answer
120
views
How to convert C#’s Guid constructor with array of bytes to SQL Server scalar function?
I am currently tasked with converting a bunch of C# CLR code into SQL Server stored procedures and scalar functions. The task seems enough simple at first glance, until I stumbled upon a piece of code ...
0
votes
0
answers
30
views
Converting GUID to String (Finding convertion algorithm)
I have some GUIDs and their corresponding string values (an string which is including the values that made the GUID). Could you please help me to decrypt the GUID and find the decryption algorithm?
1) ...
0
votes
0
answers
55
views
How is the sector disk layout of a GUID partition table with a logical=physical sector size of 4096 bytes
I would like to know how a disk having logical AND physical disk sector size of 4096 bytes (aka advanced format - AF) is organized using a GPT?
On a 512-byte sector drive (either logical=physical or ...
2
votes
0
answers
84
views
Do UUID variants matter for parsing UUIDs?
I wondered if you have seen any UUID libraries in any programming language that would refuse to parse UUIDs with an invalid variant/version. The reason, why I assume there has to be something is:
In ...
1
vote
1
answer
153
views
Adding list of GUIDs as SqlParameters to filter to perform IN operator [duplicate]
I am trying to pass a list of GUIDs as SqlParameters to execute a query using IN operator. But the result is empty even though some of the provided GUIDs are valid as exist in the table.
Here is an ...
0
votes
1
answer
228
views
How to deactivate a button after clicking? (Flet)
How can I make the button deactivate with one click?
`
import flet as ft
from flet import ElevatedButton, ButtonStyle, RoundedRectangleBorder
def main(page: ft.page):
page.title = "Test"...
0
votes
1
answer
45
views
Argument to method seems to lose scope when method is invoked
This is a confusing problem for me. I'm passing a Guid into a method from a different DLL, and that Guid, as an argument, seems to lose scope - the Guid retains random values before the first two ...
1
vote
1
answer
40
views
Approach to generate Short Unique key like (AboU8N) in distributed environment?
I know a few of the approaches to generating unique identifiers :
The first Naive approach would be just to put auto-increment on the database column, but it does not provide uniqueness in a ...
0
votes
0
answers
56
views
An Error On the Served GUID shoudl contain 32... Post Request to retrieve Image not showing in PowerApps
I have the following Flow that Retrieves chemical Images dynamically from ChemSpider Depending on the SMILES entered. The steps for this flow generally are:
User inputs Text
Appends this to URL (...
1
vote
1
answer
58
views
ldap_search() by GUID in AD with Php
I am beginner (and sorry for my english). I develop a php API to interact with LDAP directories.
I would search users by their objectGUID in my AD. I can't search for more than 2 characters...
I tried ...
0
votes
0
answers
73
views
Azure Devops EF Core migration script GUID PK error
I have 2 EF Core databases and one of them does have a table with a GUID as its primary key. I've never had any problems with running migrations but since I try to run migrations from my Azure Devops ...
0
votes
2
answers
293
views
Fail to convert base64 string when using TryFromBase64String
I receive a Guid as a base64 string. By using the Convert.FromBase64String(b64), the conversion is working well, then I try to use the Convert.TryFromBase64String(b64) but in that case, the method ...
0
votes
0
answers
74
views
UUID to GUID in Android
Im remaking a container from c# to Android studio in java, and i need the uuid variable on android to have the same value as in the guid in c#, obviously passing the same parameters.
I would like to ...
0
votes
0
answers
192
views
Is there any way to create a column of GUID type in pyspark/sql databricks?
I want to create a delta table with a column of GUID type. Column should not have autogenerated values I will populate the column explicitly. It should just have a GUID type. How can I do this?
0
votes
0
answers
63
views
Generating private key with guid in Open SSL
I want to generate keys using openSSL with following attributes. I searched online to know the correct syntax but no results.
Create a JWK keyset (using OpenSSL, etc.) with one or more keys, with the ...
0
votes
0
answers
47
views
How to make UWP can auto collect UUID or GUID?
I create a new UWP project, and then I want it can pair and connect bluetooth device, but every time I try to test my appliaction, it always need me copy and paste UUID or GUID from bluetooth device, ...
0
votes
1
answer
92
views
Query guids with different binary subTypes in the same collection
There is a way I can query two different formats of _id?
UUID('4e519e66-751c-4ef3-9a06-3de70b95b755')
and
BinData(3, 'Zp5RThx1806aBj3nC5W3VQ==')
I have both formats in my collection.
0
votes
0
answers
42
views
Guid value doesn't get inserted properly into the cassandra table
I have following static class that I used in several unit tests in one of my project. I have the cassandra database in a docker container. I want to specifically use the Testrunid1 in the TestBase ...
0
votes
0
answers
68
views
Razor modal component with GUID as ID
Can someone explain why there is a bug here in certain situations?
I created modal as a razor component with GUID ID like you can see below. When I am trying to open the modal component by clicking a ...
0
votes
0
answers
57
views
Header preprocessor unique IDs generation C++
Some code I stumbled upon today:
#ifndef EVENTHANDLER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define EVENTHANDLER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
Under normal circumstances, you'd write #...
0
votes
1
answer
401
views
Transparent Browser for our own web-app and PWA [Using static HTML,CSS and JavaScript][like user can see desktop wallpaper through our web-app/PWA]
I am an beginner frontend developer and designer, I'm currently working on an webapplication (chat) using socket.
Languages I'm and my friend using :
Scala,HTML,CSS,JavaScript.
I'm working on the HTML ...
-1
votes
1
answer
53
views
Need a user friendly UniqueId string for DB records [closed]
I need a user friendly UniqueId for each appointment item in my application. This UniqueId is a "folder" name for BLOBs attached to the item. So a Guid is not good.
One solution I came up ...
2
votes
3
answers
201
views
What about IFC64 GUID?
I'm writing a C# application, where objects are to be identified by their Guid. According to the customer, there should be two types:
Standard GUID (128-bit, 36 characters)
IFC64 GUID (132-bit, 22 ...
0
votes
1
answer
377
views
Find an object by GUID using MongoDB Driver with a registered class map
How do I find a mongo document by GUID? The c# POCO has an Id property that is stored in the mongo database.
The class map for the POCO is registered and called before a client is configured:
...
-1
votes
1
answer
137
views
Why linker can not find this local definition in c++
I have this code:
// Include guiddef.h
#include <guiddef.h>
// Define GUID
DEFINE_GUID(MyGuid,
0x12345678, 0x1234, 0x5678, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0);
int main() {
...
2
votes
1
answer
418
views
Why set UUID("00000000-0000-0000-0000-000000000000") on field that has attribute: [BsonId(IdGenerator = typeof(GuidGenerator))]
I have document class:
[BsonIgnoreExtraElements]
public class Document
{
[BsonId(IdGenerator = typeof(GuidGenerator))]
public Guid ID { get; set; }
[BsonDateTimeOptions(Kind = ...
0
votes
1
answer
670
views
How to get all sharepoint site feature's names and id
I have been trying to use $features = Get-PnPFeature and $features = Get-PnPFeature -Scope Site But I only get the enabled features and it doesn't include all the features. I need a complete list of ...
0
votes
1
answer
629
views
Advanced Installer's requirement to change the Product Code and Upgrade Code GUIDs when repackaging a new product version
I need a sanity check and some help here. I'm not extremely technical (such as a programming degree) but I'm in charge of the installers for my company. We've been using InnoSetup for over 10 years, ...
0
votes
1
answer
758
views
Byte array for GUID must be exactly 16 bytes long - Devart - Oracle
I'm having a problem when I insert a Guid value in an Oracle database (raw(16) field). I'm using the Devart library in my C# application to record records. The error occurs randomly because I use Guid....
0
votes
3
answers
179
views
System.currentTimeMillis() Race Condition
Can using System.currentTimeMillis() as a unique identifier in a Java Spring Boot project lead to a race condition, where someone can hit the API at the same milisecond? What are the chances of this.
...
1
vote
2
answers
128
views
Unique, incremental ID generation constrained within an entity
We're building a ticketing system for our customers (enterprise clients) and we're trying to come up with a way to have a sequential, unique ticket ID generation system that is also user-friendly.
...
2
votes
0
answers
54
views
Why does Guid.ToByteArray in C# "rechange" the byte position? [duplicate]
Guid.ToByteArray() change the position of the first bytes. Why does this method do this?
I want to parse a Base64 string to a byte array in the same form.
Look at this example1:
Guid guid = Guid....
0
votes
0
answers
110
views
Why doesn't this type for GUID in TypeScript behave as expected?
I am trying to make a type for GUID in TypeScript and while this looks like it should enforce hex strings divided with "-", it does not.
type GUID = `${HexString<8>}-${HexString<4&...
-2
votes
1
answer
408
views
Powershell guid is not unique when I run it in multiple threads - How can I make it unique?
I am running a script in powershell in multiple threads (multiple shells), and I'm finding that its possible for the NewGuid powershell function to generate values in powershell 7 that are not ...
0
votes
2
answers
863
views
How to resolve error regarding null value passed in Guid property?
I am trying to post JSON as which is supposed to work as a request body for a filter/search , so null value is allowed:
{
"Guid":"",
"FirstName":"",
...
-3
votes
1
answer
447
views
The project has static values but don't work FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) [closed]
I have a core project that stores static data, I use it in the data preoctc and I get this error
System.TypeInitializationException: 'The type initializer for 'ERP.Core.Constants.CoreDefaultValues' ...
0
votes
1
answer
35
views
OLECHAR used as pointer - will it dangling pointer if not nullptr? Function CoTaskMemFree()
I generate a GUID and then save it in OLECHAR* with StringFromCLSID(). If I create a function which returns an OLECHAR and not nullptr the OLECHAR after using CoTaskMemFree() - will it cause dangling ...
0
votes
1
answer
854
views
Mongo DB C# API, Converts GUID to LUUID instead of UUID
I have a C# MongoDB driver 2.15.0, which inserts data to MongoDB using Modals. But in my Test Environment the data inserted in MongoDB is UUID. But in Production its inserted as LUUID, I need it as ...
0
votes
1
answer
620
views
Is it possible to create a table with table name as GUID
is is possible to do
DECLARE @guid uniqueidentifier = NEWID();
select @guid
CREATE TABLE @guid
(
[UserId] uniqueidentifier NOT NULL DEFAULT NewID(),
[FirstName] nvarchar(30),
[LastName] ...
0
votes
2
answers
524
views
Can't connect to sharepoint list
I setup new Sharepoint list, customized the form using Power App and able to view it and add new data. Now trying to setup a connection to this list to extract items that were added and unable to see ...
0
votes
1
answer
332
views
Generate UUID/GUID in Postgres 12.8
I have the following postgres version, its an AWS Aurora Postgres -
"PostgreSQL 12.8 on x86_64-pc-linux-gnu, compiled by x86_64-pc-linux-gnu-gcc (GCC) 7.4.0, 64-bit"
Is it possible to ...
0
votes
2
answers
972
views
Grab just the GUID from powercfg /list
Working on a Caffinate Alternative for Windows and was wondering if there was a way I could grab just the GUID of the current used powerplan without the rest of the output heres a example of what I ...
-1
votes
1
answer
756
views
Save guid without dashes into SQL Server using EF Core
I'm trying to save a guid in SQL Server, but it is adding dashes and the Guid that comes from the web does not contain
Json receive web, id not contains dash:
{
"id": "...
0
votes
0
answers
333
views
Guid should contain 32 digits with 4 dashes in SignalR-Client-Swift
I am new to iOS. I am working on Swift SignalR using SignalR-Client-Swift. Initially it was working fine but now it is returning below error while subscribing channels.
Connection opens successfully
...
1
vote
1
answer
861
views
GUID is 00000000-0000-0000-0000-000000000000 when posting to .net core endpoint from axios, react and typescript
I have a .net endpoint here:
public class ListContactRequest
{
public Guid userId { get; set; }
}
[Authorize]
[HttPost]
[Route("listContacts")]
public async Task<...