Click here to Skip to main content
15,916,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDisplay balance Pin
Muhd Hakim9-Nov-22 5:40
Muhd Hakim9-Nov-22 5:40 
AnswerRe: Display balance Pin
jeron19-Nov-22 6:06
jeron19-Nov-22 6:06 
AnswerRe: Display balance Pin
Richard MacCutchan9-Nov-22 6:22
mveRichard MacCutchan9-Nov-22 6:22 
AnswerRe: Display balance Pin
Craig Robbins9-Nov-22 7:49
Craig Robbins9-Nov-22 7:49 
AnswerRe: Display balance Pin
Sam Hobbs9-Nov-22 11:25
Sam Hobbs9-Nov-22 11:25 
AnswerRe: Display balance Pin
Gerry Schmitz9-Nov-22 19:17
mveGerry Schmitz9-Nov-22 19:17 
AnswerRe: Display balance Pin
CPallini12-Nov-22 10:39
mveCPallini12-Nov-22 10:39 
QuestionMaking VC++ 6 DLL to work on VB6 App with no UNICODE issue Pin
whiteboat27-Oct-22 19:50
whiteboat27-Oct-22 19:50 
Currently I am working on an old VB6 app to be compatible with UNICODE.

This app has SSTab and within this tab, there are user control q1, q2, q3 and so on.  For q1, it has the following code:

Private WithEvents q1 As VBControlExtender
Private progID As String

procId = "ALCTX10.CTX10.1"
Set q1 = Controls.Add(procId, "q1")
myTab.tab = 1
q1.Move borderSize, topMargin, myTab.Width - borderSize * 2, _
myTab.Height - borderSize - topMargin
q1.Visible = True

The procId is referring to VC++ 6 DLL. All user controls are using this DLL.
For VC++ 6 DLL, I added ",_UNICODE, UNICODE" into the preprocessor definitions under the project setting of VC++ 6.
And compiled the DLL again and then brought it back to VB6.

The problem is I am still getting the same UNICODE issue from VB6 app. 
I am using a foreign version of Windows XP so it is not the font problem.
I can’t just replace this DLL with UNICODE supported TextBox or RichTextBox since there are too many things going underneath the DLL.

I would appreciate very much if anyone sheds a light on this problem.  Thanks.

AnswerRe: Making VC++ 6 DLL to work on VB6 App with no UNICODE issue Pin
Victor Nijegorodov27-Oct-22 20:41
Victor Nijegorodov27-Oct-22 20:41 
GeneralRe: Making VC++ 6 DLL to work on VB6 App with no UNICODE issue Pin
whiteboat27-Oct-22 21:21
whiteboat27-Oct-22 21:21 
AnswerRe: Making VC++ 6 DLL to work on VB6 App with no UNICODE issue Pin
Jeremy Falcon15-Dec-22 11:53
professionalJeremy Falcon15-Dec-22 11:53 
QuestionProgram set Pin
debby forbes21-Oct-22 17:38
debby forbes21-Oct-22 17:38 
AnswerRe: Program set Pin
Richard MacCutchan21-Oct-22 21:39
mveRichard MacCutchan21-Oct-22 21:39 
AnswerRe: Program set Pin
CPallini24-Oct-22 22:20
mveCPallini24-Oct-22 22:20 
QuestionC++ Shellcode process returned -1073741819 (0xC0000005) Pin
Ben kubi20-Oct-22 4:56
Ben kubi20-Oct-22 4:56 
AnswerRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Richard MacCutchan20-Oct-22 5:41
mveRichard MacCutchan20-Oct-22 5:41 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Ben kubi20-Oct-22 5:53
Ben kubi20-Oct-22 5:53 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Victor Nijegorodov20-Oct-22 6:01
Victor Nijegorodov20-Oct-22 6:01 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Richard MacCutchan20-Oct-22 6:36
mveRichard MacCutchan20-Oct-22 6:36 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Ben kubi20-Oct-22 6:50
Ben kubi20-Oct-22 6:50 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Victor Nijegorodov20-Oct-22 10:46
Victor Nijegorodov20-Oct-22 10:46 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Ben kubi20-Oct-22 11:32
Ben kubi20-Oct-22 11:32 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Richard MacCutchan20-Oct-22 20:38
mveRichard MacCutchan20-Oct-22 20:38 
AnswerRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Mircea Neacsu20-Oct-22 14:04
Mircea Neacsu20-Oct-22 14:04 
AnswerRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Richard MacCutchan20-Oct-22 21:01
mveRichard MacCutchan20-Oct-22 21:01 

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.