Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to convert a project to non UNICODE Pin
OO-P12-Oct-03 1:12
OO-P12-Oct-03 1:12 
GeneralRe: how to convert a project to non UNICODE Pin
Taka Muraoka12-Oct-03 1:17
Taka Muraoka12-Oct-03 1:17 
Generalproblem of icons Pin
sarasara098765411-Oct-03 4:12
sarasara098765411-Oct-03 4:12 
GeneralRe: problem of icons Pin
includeh1011-Oct-03 5:08
includeh1011-Oct-03 5:08 
GeneralRe: problem of icons Pin
sarasara098765411-Oct-03 20:13
sarasara098765411-Oct-03 20:13 
GeneralSending Large binary data using CSocket Pin
Katamneni11-Oct-03 2:56
Katamneni11-Oct-03 2:56 
Questionodbc in Run Time? Pin
murali_utr11-Oct-03 2:27
murali_utr11-Oct-03 2:27 
GeneralUnique generated id to be shared between machines Pin
frankse11-Oct-03 0:24
frankse11-Oct-03 0:24 
I am working at a company that has an established database and code. Lately they have been splitting their transactions between 2 databases running on differnt machines and then importing the transactions on one machine over to the other. The problem created by this is that their transaction ID are randomly generated long fields. The way the code use to keep ids unique was to do a select on the database to see if new randomly generated id already exists on the database and to keep on trying till a new unique number was generated(OMG | :OMG: ).
Now that the code is run on two machines, two separate databases this aproach is obviously not working anymore. I could set an inifile setting sothat one machine generates only even and the other only uneven numbers but this is prone to all sort of stuff-uppsUnsure | :~

Any suggestions?
GeneralRe: Unique generated id to be shared between machines Pin
John M. Drescher11-Oct-03 0:58
John M. Drescher11-Oct-03 0:58 
GeneralRe: Unique generated id to be shared between machines Pin
frankse11-Oct-03 4:04
frankse11-Oct-03 4:04 
GeneralRe: Unique generated id to be shared between machines Pin
John M. Drescher11-Oct-03 4:37
John M. Drescher11-Oct-03 4:37 
GeneralRe: Unique generated id to be shared between machines Pin
frankse12-Oct-03 21:02
frankse12-Oct-03 21:02 
QuestionHow to get local ip address in C? Pin
legrillon10-Oct-03 23:48
legrillon10-Oct-03 23:48 
AnswerRe: How to get local ip address in C? Pin
Beer2611-Oct-03 7:11
Beer2611-Oct-03 7:11 
AnswerRe: How to get local ip address in C? Pin
ZoogieZork11-Oct-03 9:37
ZoogieZork11-Oct-03 9:37 
GeneralRe: How to get local ip address in C? Pin
legrillon13-Oct-03 18:38
legrillon13-Oct-03 18:38 
GeneralSetting Font for Menu Items Pin
ramya8310-Oct-03 20:12
ramya8310-Oct-03 20:12 
GeneralRe: Setting Font for Menu Items Pin
Anonymous11-Oct-03 5:07
Anonymous11-Oct-03 5:07 
GeneralRe: Setting Font for Menu Items Pin
Beer2611-Oct-03 7:02
Beer2611-Oct-03 7:02 
GeneralRe: Setting Font for Menu Items Pin
Blake Coverett11-Oct-03 10:09
Blake Coverett11-Oct-03 10:09 
GeneralRe: Setting Font for Menu Items Pin
Beer2611-Oct-03 10:28
Beer2611-Oct-03 10:28 
GeneralRe: Setting Font for Menu Items Pin
Blake Coverett11-Oct-03 10:38
Blake Coverett11-Oct-03 10:38 
GeneralRe: Setting Font for Menu Items Pin
Ian Darling12-Oct-03 3:41
Ian Darling12-Oct-03 3:41 
GeneralRe: Setting Font for Menu Items Pin
Beer2612-Oct-03 4:24
Beer2612-Oct-03 4:24 
GeneralRe: Setting Font for Menu Items Pin
Ian Darling12-Oct-03 4:57
Ian Darling12-Oct-03 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.